package com.whminwei.edu.api.school.client;

import com.whminwei.common.feign.decoder.FullHttpRspnConfig;
import com.whminwei.common.http.rspn.FullHttpResponse;
import com.whminwei.edu.api.school.dto.fspn.DeptFspn;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 系部接口
 *
 * @author wangy
 * @since 2024/4/12
 */
@FeignClient(name = "xzzg-pt-school-service", contextId = "department-info", configuration = FullHttpRspnConfig.class)
public interface DepartmentClient {

    /**
     * 获取系部列表
     *
     * @author wangy
     * @since 11:11 2024/4/12
     **/
    @PostMapping("/dep/getDepList")
    FullHttpResponse<DeptFspn> getDepList();
}
